package com.qy33.entity;

import java.math.BigDecimal;

/**
 * 股票K线描述实体
 * @author henry
 * @date 2013-01-25
 *
 */
public class Stock {

	// 日期	    开盘	    最高	    最低	    收盘	    成交量	    成交额
	// 19901219,96.05,99.98,95.79,99.98,1260,494000.000
	
	private String code;
	private String date;
	private BigDecimal begin;
	private BigDecimal high;
	private BigDecimal low;
	private BigDecimal end;
	private BigDecimal vol;
	private BigDecimal amount;

	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer(64);
		sb.append("[code=").append(code).append(", date=").append(date)
			.append(", high=").append(high).append(", low=").append(low)
			.append(", begin=").append(begin).append(", end=").append(end).append("]");
		return sb.toString();
	}
	
	public BigDecimal getBegin() {
		return begin;
	}
	public void setBegin(BigDecimal begin) {
		this.begin = begin;
	}
	public BigDecimal getHigh() {
		return high;
	}
	public void setHigh(BigDecimal high) {
		this.high = high;
	}
	public BigDecimal getLow() {
		return low;
	}
	public void setLow(BigDecimal low) {
		this.low = low;
	}
	public BigDecimal getEnd() {
		return end;
	}
	public void setEnd(BigDecimal end) {
		this.end = end;
	}
	public BigDecimal getVol() {
		return vol;
	}
	public void setVol(BigDecimal vol) {
		this.vol = vol;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}	

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
}
